package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 业务员申请表
 * </p>
 *
 * @author YanYang
 * @since 2025-03-22 14:47:24
 */
@Getter
@Setter
@TableName("t_salesman_apply")
@ApiModel(value = "SalesmanApply对象", description = "业务员申请表")
public class SalesmanApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("业务员申请ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户ID")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("手机号")
    @TableField("tel")
    private String tel;

    @ApiModelProperty("上级手机号")
    @TableField("partner_tel")
    private String partnerTel;


    @ApiModelProperty("审核状态（0=审核中 1=成功 2=失败）")
    @TableField("audit_status")
    private Integer auditStatus;

    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
